<!DOCTYPE html>
<html>
<meta charset="utf-8">
<head th:include="include :: header"></head>

<body class="gray-bg">
<div class="wrapper wrapper-content ">
    <div class="row">
        <div class="col-sm-12">
            <div class="ibox float-e-margins">
                <div class="ibox-content">
                    <form class="form-horizontal m-t" id="signupForm">
                        <input id="project_id" name="projectId" th:value="${project.projectId}" type="hidden">
                        <div class="form-group">
                            <label class="col-sm-3 control-label">项目编号：</label>
                            <div class="col-sm-8">
                                <input id="projectNum" name="projectNum" th:value="${project.projectNum}"
                                       class="form-control" type="text">
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-3 control-label">项目名：</label>
                            <div class="col-sm-8">
                                <input id="projectName" name="projectName" th:value="${project.projectName}"
                                       class="form-control" type="text">
                            </div>
                        </div>

                        <div class="form-group">
                            <label class="col-sm-3 control-label">审核人：</label>
                            <div class="col-sm-8">
                                <input id="shenheren" name="shenheren" th:value="${project.shenheren}"
                                       class="form-control" type="text">
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-3 control-label">报价单位：</label>
                            <div class="col-sm-8">
                                <input id="priceUnit" name="priceUnit" th:value="${project.priceUnit}"
                                       class="form-control" type="text">
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-3 control-label">定标日期：</label>
                            <div class="col-sm-8">

                                <input id="confirmDate" name="confirmDate" type="text" class="form-control"
                                        th:value="${#dates.format(project.confirmDate,'yyyy-MM-dd')}" />
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-3 control-label">交标日期：</label>
                            <div class="col-sm-8">
                                <input id="succDate" name="succDate"  class="form-control"
                                       type="text" th:value="${#dates.format(project.succDate,'yyyy-MM-dd')}">
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-3 control-label">最终报价：</label>
                            <div class="col-sm-8">
                                <input id="finishPrice" name="finishPrice" th:value="${project.finishPrice}"
                                       class="form-control" type="text">
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-3 control-label">投标结果：</label>
                            <div class="col-sm-8">
                                <input id="toubiaoResult" name="toubiaoResult" th:value="${project.toubiaoResult}"
                                       class="form-control" type="text">
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-3 control-label">中标价格：</label>
                            <div class="col-sm-8">
                                <input id="zhongbiaoPrice" name="zhongbiaoPrice" th:value="${project.zhongbiaoPrice}"
                                       class="form-control" type="text">
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-3 control-label">备注：</label>
                            <div class="col-sm-8">
                                <input id="beizhu" name="beizhu" th:value="${project.beizhu}" class="form-control"
                                       type="text">
                            </div>
                        </div>
                        <div class="form-group">
                            <div class="col-sm-8 col-sm-offset-3">
                                <button type="submit" class="btn btn-primary">提交</button>
                            </div>
                        </div>
                    </form>
                </div>
            </div>
        </div>
    </div>
</div>
<div th:include="include::footer"></div>
<script type="text/javascript" src="/js/appjs/system/project/edit.js">
</script>

<script type="text/javascript" src="/js/plugins/layer/laydate/laydate.js" ></script>

<script type="text/javascript">
    $(function () {
        var finishPrice = $("#finishPrice").val();
        $("#finishPrice").val(formatnum(finishPrice));

        var zhongbiaoPrice = $("#zhongbiaoPrice").val();
        $("#zhongbiaoPrice").val(formatnum(zhongbiaoPrice));


    })



    function formatnum(num) {

        return new Number(num);
    }
</script>
</body>
</html>
